package top.continew.admin.sport.model.resp;

import java.io.Serial;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;

import top.continew.starter.extension.crud.model.resp.BaseDetailResp;

/**
 * 比赛成绩详情信息
 *
 * @author xiahaike
 * @since 2024/09/15 12:52
 */
@Data
@ExcelIgnoreUnannotated
@Schema(description = "比赛成绩详情信息")
public class ProjectEntryGradeDetailResp extends BaseDetailResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 项目报名id
     */
    @Schema(description = "项目报名id")
    @ExcelProperty(value = "项目报名id")
    private Long projectEntryId;

    /**
     * 比赛结果
     */
    @Schema(description = "比赛结果")
    @ExcelProperty(value = "比赛结果")
    private String result;

    /**
     * 成绩
     */
    @Schema(description = "成绩")
    @ExcelProperty(value = "成绩")
    private String score;

    /**
     * 成绩是否有效 0：有效，1：无效
     */
    @Schema(description = "成绩是否有效 0：有效，1：无效")
    @ExcelProperty(value = "成绩是否有效 0：有效，1：无效")
    private Integer isEffective;

    /**
     * 成绩无效原因 若有效则为NULL
     */
    @Schema(description = "成绩无效原因 若有效则为NULL")
    @ExcelProperty(value = "成绩无效原因 若有效则为NULL")
    private String reason;
}